﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Empty : ControllerBase
{
    public override PlayerData GetPlayerData()
    {
        return new PlayerData()
        {
            Name = "空的",
            Author = "System",
            BaseImage = "Sprite/Base/Base01",
            GunImage = "Sprite/Gun/Gun01"
        };
    }

    public override IEnumerator LoopAction()
    {
        while (true)
        {
            yield return 0;
            // Debug.Log("Wait a frame");
        }

        yield return 0;
    }

    public override void OnScanOthers(ScanOthersData scanOthersData)
    {
    }

    public override void OnScaned(float angle)
    {
    }

    public override void OnCrashWall()
    {
    }

    public override void Start()
    {
        CoroutineMono.StartCoroutine(LoopAction());
    }

    public override void OnCrashOthers(Vector3 othersPosition, float othersSpeed)
    {
    }

    public override void OnHitted(float bulletAngle)
    {
    }
}